package com.zs.toolbox.web2j.system.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zs.toolbox.web2j.common.request.WtPageBodyModel;
import com.zs.toolbox.web2j.system.core.entity.WtPostCommentEntity;
import com.zs.toolbox.web2j.system.core.entity.WtPostCommentWithUserInfoEntity;
import com.zs.toolbox.web2j.system.core.request.WtCommentPageQueryModel;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author eric.zhang
 * @since 2018-10-11
 */
public interface WtPostCommentService extends IService<WtPostCommentEntity> {

    WtPageBodyModel<WtPostCommentWithUserInfoEntity> pageComment(WtCommentPageQueryModel wtPageQueryModel);

    WtPostCommentWithUserInfoEntity fetchPostDetailById(Long id);

    void saveComment(WtPostCommentEntity wtPostDetailEntity);
}
